package com.gxa.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * (BillCode)实体类
 *
 * @author makejava
 * @since 2020-10-27 15:52:17
 */
@ApiModel(value = "单据编码实体类")
public class BillCode implements Serializable {
    private static final long serialVersionUID = 368555242055373268L;
    /**
     * 单据编码id
     */
    @ApiModelProperty(name = "billCodeId",notes = "单据编码id",value = "单据编码id")
    private Integer billCodeId;
    /**
     * 商品属性id（外键）
     */
    @ApiModelProperty(name = "coditAttribId",notes = "商品属性id",value = "商品属性id")
    private Integer coditAttribId;
    /**
     * 商品图片id（外键）
     */
    @ApiModelProperty(name = "coditPageId",notes = "商品图片id",value = "商品图片id")
    private Integer coditPageId;
    /**
     * 商品成本价格id（外键）
     */
    @ApiModelProperty(name = "costPriceId",notes = "商品成本价格id",value = "商品成本价格id")
    private Integer costPriceId;
    /**
     * 商品销售价格id(外键)
     */
    @ApiModelProperty(name = "costPriceGoodId",notes = "商品销售价格id",value = "商品销售价格id")
    private Integer costPriceGoodId;
    /**
     * 日志记录id(外键)
     */
    @ApiModelProperty(name = "logRecordId",notes = "日志记录id",value = "日志记录id")
    private Integer logRecordId;
    /**
     * 商品类型id(外键)
     */
    @ApiModelProperty(name = "coditTypId",notes = "商品类型id",value = "商品类型id")
    private Integer coditTypId;
    /**
     * 商品常用信息id（外键）
     */
    @ApiModelProperty(name = "coditInforId",notes = "商品常用信息id",value = "商品常用信息id")
    private Integer coditInforId;
    /**
     * 单据编码状态（1：已审批，0：未审批，-1：审批驳回）
     */
    @ApiModelProperty(name = "billCodeStatus",notes = "单据编码状态",value = "单据编码状态")
    public Integer billCodeStatus;

    public CoditAttrib coditAttrib;

    public LogRecord logRecord;

    public CostSelling costSelling;

    public CoditInfor coditInfor;

    public CoditTyp coditTyp;

    public CostPrice costPrice;

    public CoditTyp getCoditTyp() {
        return coditTyp;
    }

    public void setCoditTyp(CoditTyp coditTyp) {
        this.coditTyp = coditTyp;
    }

    public Integer getBillCodeId() {
        return billCodeId;
    }

    public void setBillCodeId(Integer billCodeId) {
        this.billCodeId = billCodeId;
    }

    public Integer getCoditAttribId() {
        return coditAttribId;
    }

    public void setCoditAttribId(Integer coditAttribId) {
        this.coditAttribId = coditAttribId;
    }

    public Integer getCoditPageId() {
        return coditPageId;
    }

    public void setCoditPageId(Integer coditPageId) {
        this.coditPageId = coditPageId;
    }

    public Integer getCostPriceId() {
        return costPriceId;
    }

    public void setCostPriceId(Integer costPriceId) {
        this.costPriceId = costPriceId;
    }

    public Integer getCostPriceGoodId() {
        return costPriceGoodId;
    }

    public void setCostPriceGoodId(Integer costPriceGoodId) {
        this.costPriceGoodId = costPriceGoodId;
    }

    public Integer getCoditInforId() {
        return coditInforId;
    }

    public void setCoditInforId(Integer coditInforId) {
        this.coditInforId = coditInforId;
    }

    public Integer getBillCodeStatus() {
        return billCodeStatus;
    }

    public void setBillCodeStatus(Integer billCodeStatus) {
        this.billCodeStatus = billCodeStatus;
    }

    public CoditAttrib getCoditAttrib() {
        return coditAttrib;
    }

    public void setCoditAttrib(CoditAttrib coditAttrib) {
        this.coditAttrib = coditAttrib;
    }

    public LogRecord getLogRecord() {
        return logRecord;
    }

    public void setLogRecord(LogRecord logRecord) {
        this.logRecord = logRecord;
    }

    public CostSelling getCostSelling() {
        return costSelling;
    }

    public void setCostSelling(CostSelling costSelling) {
        this.costSelling = costSelling;
    }

    public CoditInfor getCoditInfor() {
        return coditInfor;
    }

    public void setCoditInfor(CoditInfor coditInfor) {
        this.coditInfor = coditInfor;
    }

    public CostPrice getCostPrice() {
        return costPrice;
    }

    public void setCostPrice(CostPrice costPrice) {
        this.costPrice = costPrice;
    }

    public Integer getLogRecordId() {
        return logRecordId;
    }

    public void setLogRecordId(Integer logRecordId) {
        this.logRecordId = logRecordId;
    }

    public Integer getCoditTypId() {
        return coditTypId;
    }

    public void setCoditTypId(Integer coditTypId) {
        this.coditTypId = coditTypId;
    }

    @Override
    public String toString() {
        return "BillCode{" +
                "billCodeId=" + billCodeId +
                ", coditAttribId=" + coditAttribId +
                ", coditPageId=" + coditPageId +
                ", costPriceId=" + costPriceId +
                ", costPriceGoodId=" + costPriceGoodId +
                ", coditInforId=" + coditInforId +
                ", billCodeStatus=" + billCodeStatus +
                '}';
    }
}